package com.sky.service;

import com.sky.entity.AddressBook;

import java.util.List;

public interface AddressBookService {
    void save(AddressBook addressBook);

    List<AddressBook> listByUserId(Long userId);

    void addressBookDefault(Long id);

    AddressBook listById(Long id);

    void updateAddressBook(AddressBook addressBook);

    void deleteAddressBookById(Long id);
}
